home *** CD-ROM | disk | FTP | other *** search
- Path: inforamp.net!ts10-07
- From: rmorin@inforamp.net (Randy Charles Morin)
- Newsgroups: comp.lang.c++
- Subject: Re: How can I include IOSTREAM.H only once?
- Date: Sat, 09 Mar 96 17:53:05 GMT
- Organization: MiddleWorld SoftWare
- Message-ID: <4hsgid$pmm@sam.inforamp.net>
- References: <4hbi55$899@sam.inforamp.net> <4hc09v$136@news1.usa.pipeline.com> <4hj42l$elu@sam.inforamp.net> <4hqck8$fvc@uuneo.neosoft.com>
- NNTP-Posting-Host: ts10-07.tor.inforamp.net
- X-Newsreader: News Xpress Version 1.0 Beta #4
-
- In article <4hqck8$fvc@uuneo.neosoft.com>,
- Wmatthew@lan-aces.com (W. Matthews) wrote:
- >I haven't seen the entire string relating to this, but some compilers have
- >a useful #define statement in the include files.
- >The way to take advantage of this is to do something along the following
- >lines in each source module that may include a particular header. However,
- >this does not work in every situation: (I use stdio.h as an example)
- >#ifndef __STDIO__
- >#include <stdio.h>
- >#endif
-
- That was my orinal suggestion. Thanks for backing me up. But this Pete guy
- had to say my suggestion didn't address the question. He's done that to me
- twice this week. Thanks for the reply.
-
- Agrivar
-
- Thanks again.
-